<div id="outpatient-item-fee" class="easyui-layout" data-options="fit:true,border:false">
	<div data-options="region:'center',border:false" style="overflow: auto;padding: 10px;">
			<div>
				
				<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-search" plain="true">查看项目</a>
				<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-search" plain="true">查看费用</a>
				<a href="javascript:void(0);" class="easyui-linkbutton function-btn l-btn l-btn-small l-btn-plain" iconcls="icon-cancel" plain="true">取消</a>
				
			</div>
  			<form class="main-form" method="post">
			 	 	
		    <fieldset>		
			 <table>
			 	
				<tr>
				    <th>科室名称：</th>
					<td><input name="doct_depart_name" id="doct_depart_name" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="editable:false"/></td>
					<th>医生姓名：</th>
					<td><input id="doct_name" name="doct_name" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="editable:false"/></td>
				 </tr>
				 
				 <tr>
				    <th>患者姓名：</th>
					<td><input name="patient_name" id="patient_name" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="editable:false"/></td>
					<th>处方号码：</th>
					<td><input id="cfhm" name="cfhm" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="editable:false"/></td>
				 </tr>
				 <tr>
				 	<th>患者性别：</th>
					<td><input id="sex" name="sex" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="editable:false"/></td>
				    <th>出生日期：</th>
					<td><input id="age" name="age" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="editable:false"/></td>
				    
				 </tr>
				 <tr>
				 	<th>处方时间：</th>
					<td><input id="feeat" name="feeat" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="editable:false"/></td>
				    <th>门诊号码：</th>
					<td><input id="mzhm" name="mzhm" type="text"  class="easyui-textbox easyui-validatebox" style="width:300px" data-options="editable:false"/></td>
				    
				 </tr>
				 
				 <tr>
				 	<th>临床诊断：</th>
					<td colspan='3'><input id="diagnosis_name" name="diagnosis_name" type="text"  class="easyui-textbox easyui-validatebox"  style="width:680px" data-options="editable:false"/></td>
				    
				 </tr>		        		 
			</table>						
			</fieldset>
			<input name="prescribe_code" id="prescribe_code" type="hidden">
			<input name="outpatient_number" id="outpatient_number" type="hidden">			
		</form>
			
		<div class="easyui-panel form-panel item-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'" style="overflow: auto;">
			
			<table  style="margin:2 auto" class="easyui-datagrid item-list"					
				data-options="rownumbers:true,
				animate: true,									
				striped:true,
				width : 'auto',
				border:true,						
				idField: 'id',
				pagination : true,							
				fitColumns: true">		
						
				<thead>						
					<tr>												
						
						<th field="drug_name" width="100" align="center">项目名称</th>				
						<!-- <th field="basic_dose" width="60" align="center">basic_dose</th> -->
						<!-- <th field="dose_unit" width="60" align="center">dose_unit</th> -->
						<th field="use_day_num" width="80" align="center">用药周期</th>
						<th field="drug_spec" width="80" align="center">药品规格</th>	
						<th field="drug_num" width="40" align="center">数量</th>	
						<!-- <th field="drug_unit" width="40" align="center">数量单位</th>	-->
						<th field="frequency" width="60" align="center">用药频次</th>
						<th field="use_manner" width="60" align="center">给药途径</th>
						<!-- <th field="each_dose" width="60" align="center">剂量</th> -->
						<th field="operateat" width="100" align="center">执行时间</th>					
					</tr>
				</thead>
				
			</table>
				
		</div>
		
		<div class="easyui-panel form-panel fee-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'" style="overflow: auto;">
		
			<table  style="margin:2 auto" class="easyui-datagrid fee-list"					
				data-options="rownumbers:true,
				animate: true,
				collapsible: true,					
				striped:true,
				width : 'auto',
				border:true,
				//singleSelect:false,
				idField: 'id',	
				pagination : true,								
				fitColumns: true">		
						
				<thead>						
					<tr>												
						
						<th field="drug_name" width="100" align="center">项目名称</th>				
						<th field="price" width="60" align="center">单价</th>
						
						<th field="num" width="40" align="center">数量</th>	
						<th field="tatol_price" width="60" align="center">小计</th>
						<!-- <th field="sys_type" width="60" align="center">费用类别</th> -->
						<!-- <th field="execut_doct_name" width="60" align="center">执行医生</th> -->
						<th field="feeat" width="100" align="center">计费时间</th>						
					</tr>
				</thead>
				
			</table>
		</div>
	</div>
</div>
<script>

requirejs(['outpatientItemFee','domReady!'],function(outpatient,doc){
	outpatient.init({doc:doc,
		rootId:'outpatient-item-fee',		
		subSystemCode:'medical',
		moduleCode:'outpatientItemFee',
		editWindow:'win-outpatient-item-fee'		
	})
});	

</script>